/*
 * @Author: Jimmy
 * @LastModifiedBy: Jimmy
 * @Date: 2024-06-25 20:42:14
 * @LastEditTime: 2024-06-30 12:14:41
 * @FilePath: /nest_study/web/src/views/system/menu/index.type.ts
 */
import { TPagination } from "@/api/index.type"

export type TMenuInfo = {
    id?: number
    parentId: number
    sort?: number
    path?: string
    //是否为外链（0是 1否）
    external?: string
    //是否显示（0是 1否）
    visible?: string
    //菜单类型（C目录 M菜单 B按钮）
    menuType?: string
    perms?: string
    icon?: string
    children?:TMenuInfo[]
} & TMenuSearch;

export type TMenuSearch = {
    name: string
} & TPagination